home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15868 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: user2.mnsinc.com!huang
  2. From: huang@mnsinc.com (Szu-Wen Huang)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Followup-To: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  6. Date: 8 Apr 1996 16:47:21 GMT
  7. Organization: Monumental Network Systems
  8. Message-ID: <4kbfup$2vd@news1.mnsinc.com>
  9. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg> <4k9qhe$65r@solutions.solon.com> <dewar.828936837@schonberg> <828964950snz@genesis.demon.co.uk>
  10. NNTP-Posting-Host: user2.mnsinc.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Lawrence Kirby (fred@genesis.demon.co.uk) wrote:
  14. : In article <dewar.828936837@schonberg> dewar@cs.nyu.edu "Robert Dewar" writes:
  15.  
  16. : >Boy, this sure has wandered! THe original issue was the semantic behavior
  17. : >of read. Unlike other unices, in Linux, the bounds check for the read
  18. : >buffer is based on the requested count, rather than the actual count
  19. : >of data bytes read. It is hard to say either approach is right or
  20. : >wrong, but they are different enough to cause portability problems.
  21.  
  22. : Both approaches meet the relevant standards and are correct. Only broken
  23. : code has portability problems, but that's nothing new.
  24.  
  25. Shouldn't true portability mean that even bugs are cross-platform and
  26. fail reliably?  ;)
  27.